//
//  WHJSHandle.h
//  LvZhongMagicKey
//
//  Created by 邓伟浩 on 2018/6/4.
//  Copyright © 2018年 邓伟浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>

@interface WHJSHandle : NSObject<WKScriptMessageHandler>

@property (nonatomic, weak, readonly) UIViewController *webVC;
@property (nonatomic, strong, readonly) WKWebViewConfiguration *configuration;

- (instancetype)initWithViewController:(UIViewController *)webVC configuration:(WKWebViewConfiguration *)configuration;

- (void)cancelHandler;

@end
